<?php
	include "../../public/commom/config.php";
	include "../lock1.php";	
	
	if($_GET) {
		$id = $_GET['id'];
		
		$sql = "DELETE FROM brand WHERE id = $id";
	
		$result = mysqli_query($conn, $sql);
		
		mysqli_close($conn);
	
		header("Location: ./index.php");
	}
?>